package com.cf.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author 59899
 */
public class Item {

  private long iid;
  private String iname;
  private String iintro;
  private double amoney;
  private long idays;
  private String iimg;
  private String ishowimg;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date istart;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date iend;
  private String status;
  private double nmoney;
  private long haveman;
  private String iisdel;

  private String notshow;

  private long gzcount;

  private List<Reward> rewards;
  //百分比
  private double percentage;
  //剩余天数
  private long daybetween;
  //发起人信息
  private ItemMan itemMan;
  //项目筹集的百分比
  private double bfb;
  //项目图片链接，专用于轮播图展示
  private String link;

  public String getNotshow() {
    return notshow;
  }

  public void setNotshow(String notshow) {
    this.notshow = notshow;
  }

  public String getLink() {
    return link;
  }

  public void setLink(String link) {
    this.link = link;
  }

  public double getBfb() {
    return bfb;
  }

  public void setBfb(double bfb) {
    this.bfb = bfb;
  }

  public long getGzcount() {
    return gzcount;
  }

  public void setGzcount(long gzcount) {
    this.gzcount = gzcount;
  }

  public List<Reward> getRewards() {
    return rewards;
  }

  public void setRewards(List<Reward> rewards) {
    this.rewards = rewards;
  }

  public long getDaybetween() {
    return daybetween;
  }

  public void setDaybetween(long daybetween) {
    this.daybetween = daybetween;
  }

  public double getPercentage() {
    return percentage;
  }

  public void setPercentage(double percentage) {
    this.percentage = percentage;
  }

  public long getIid() {
    return iid;
  }

  public void setIid(long iid) {
    this.iid = iid;
  }

  public String getIname() {
    return iname;
  }

  public void setIname(String iname) {
    this.iname = iname;
  }

  public String getIintro() {
    return iintro;
  }

  public void setIintro(String iintro) {
    this.iintro = iintro;
  }

  public double getAmoney() {
    return amoney;
  }

  public void setAmoney(double amoney) {
    this.amoney = amoney;
  }

  public long getIdays() {
    return idays;
  }

  public void setIdays(long idays) {
    this.idays = idays;
  }

  public String getIimg() {
    return iimg;
  }

  public void setIimg(String iimg) {
    this.iimg = iimg;
  }

  public String getIshowimg() {
    return ishowimg;
  }

  public void setIshowimg(String ishowimg) {
    this.ishowimg = ishowimg;
  }

  public Date getIstart() {
    return istart;
  }

  public void setIstart(Date istart) {
    this.istart = istart;
  }

  public Date getIend() {
    return iend;
  }

  public void setIend(Date iend) {
    this.iend = iend;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public double getNmoney() {
    return nmoney;
  }

  public void setNmoney(double nmoney) {
    this.nmoney = nmoney;
  }

  public long getHaveman() {
    return haveman;
  }

  public void setHaveman(long haveman) {
    this.haveman = haveman;
  }

  public String getIisdel() {
    return iisdel;
  }

  public void setIisdel(String iisdel) {
    this.iisdel = iisdel;
  }

  public ItemMan getItemMan() {
    return itemMan;
  }

  public void setItemMan(ItemMan itemMan) {
    this.itemMan = itemMan;
  }
}
